package com.bank.basic.pojo;

import com.bank.common.resultUtil.ResultCodeEnum;


/**
 * The interface Authority com.bank.user.handler.
 *
 * @author Cejay1314
 * @version 1.0
 * @create 2023 /2/17 18:39
 */
public interface AuthorityHandler {
    /**
     * Sets next.
     *
     * @param authorityHandler the authority com.bank.user.handler
     */
    void setNext(AuthorityHandler authorityHandler);

    /**
     * Handle result code enum.
     *
     * @param data the data
     * @return the result code enum
     */
    ResultCodeEnum handle(String data);
}
